\doxysubsubsubsection{TIM Encoder Mode }
\hypertarget{group___t_i_m___encoder___mode}{}\label{group___t_i_m___encoder___mode}\index{TIM Encoder Mode@{TIM Encoder Mode}}
\doxysubsubsubsubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___t_i_m___encoder___mode_gaff047abefa78b0f0a7bbd0f648905d7d}{TIM\+\_\+\+ENCODERMODE\+\_\+\+TI1}}~\mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7d1ebece401aeb12abd466d2eafa78b2}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+0}}
\item 
\#define \mbox{\hyperlink{group___t_i_m___encoder___mode_ga9166e985a35358cb3ed942c2a36e018d}{TIM\+\_\+\+ENCODERMODE\+\_\+\+TI2}}~\mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa980a3121ab6cda5a4a42b959da8421e}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+1}}
\item 
\#define \mbox{\hyperlink{group___t_i_m___encoder___mode_ga8046f1021dc578551fcff88891239e67}{TIM\+\_\+\+ENCODERMODE\+\_\+\+TI12}}~(\mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa980a3121ab6cda5a4a42b959da8421e}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+1}} \texorpdfstring{$\vert$}{|} \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7d1ebece401aeb12abd466d2eafa78b2}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+0}})
\end{DoxyCompactItemize}


\doxysubsubsubsubsection{Detailed Description}


\label{doc-define-members}
\Hypertarget{group___t_i_m___encoder___mode_doc-define-members}
\doxysubsubsubsubsection{Macro Definition Documentation}
\Hypertarget{group___t_i_m___encoder___mode_gaff047abefa78b0f0a7bbd0f648905d7d}\index{TIM Encoder Mode@{TIM Encoder Mode}!TIM\_ENCODERMODE\_TI1@{TIM\_ENCODERMODE\_TI1}}
\index{TIM\_ENCODERMODE\_TI1@{TIM\_ENCODERMODE\_TI1}!TIM Encoder Mode@{TIM Encoder Mode}}
\doxysubsubsubsubsubsection{\texorpdfstring{TIM\_ENCODERMODE\_TI1}{TIM\_ENCODERMODE\_TI1}}
{\footnotesize\ttfamily \label{group___t_i_m___encoder___mode_gaff047abefa78b0f0a7bbd0f648905d7d} 
\#define TIM\+\_\+\+ENCODERMODE\+\_\+\+TI1~\mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7d1ebece401aeb12abd466d2eafa78b2}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+0}}}

Quadrature encoder mode 1, x2 mode, counts up/down on TI1\+FP1 edge depending on TI2\+FP2 level \Hypertarget{group___t_i_m___encoder___mode_ga8046f1021dc578551fcff88891239e67}\index{TIM Encoder Mode@{TIM Encoder Mode}!TIM\_ENCODERMODE\_TI12@{TIM\_ENCODERMODE\_TI12}}
\index{TIM\_ENCODERMODE\_TI12@{TIM\_ENCODERMODE\_TI12}!TIM Encoder Mode@{TIM Encoder Mode}}
\doxysubsubsubsubsubsection{\texorpdfstring{TIM\_ENCODERMODE\_TI12}{TIM\_ENCODERMODE\_TI12}}
{\footnotesize\ttfamily \label{group___t_i_m___encoder___mode_ga8046f1021dc578551fcff88891239e67} 
\#define TIM\+\_\+\+ENCODERMODE\+\_\+\+TI12~(\mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa980a3121ab6cda5a4a42b959da8421e}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+1}} \texorpdfstring{$\vert$}{|} \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7d1ebece401aeb12abd466d2eafa78b2}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+0}})}

Quadrature encoder mode 3, x4 mode, counts up/down on both TI1\+FP1 and TI2\+FP2 edges depending on the level of the other input. \Hypertarget{group___t_i_m___encoder___mode_ga9166e985a35358cb3ed942c2a36e018d}\index{TIM Encoder Mode@{TIM Encoder Mode}!TIM\_ENCODERMODE\_TI2@{TIM\_ENCODERMODE\_TI2}}
\index{TIM\_ENCODERMODE\_TI2@{TIM\_ENCODERMODE\_TI2}!TIM Encoder Mode@{TIM Encoder Mode}}
\doxysubsubsubsubsubsection{\texorpdfstring{TIM\_ENCODERMODE\_TI2}{TIM\_ENCODERMODE\_TI2}}
{\footnotesize\ttfamily \label{group___t_i_m___encoder___mode_ga9166e985a35358cb3ed942c2a36e018d} 
\#define TIM\+\_\+\+ENCODERMODE\+\_\+\+TI2~\mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa980a3121ab6cda5a4a42b959da8421e}{TIM\+\_\+\+SMCR\+\_\+\+SMS\+\_\+1}}}

Quadrature encoder mode 2, x2 mode, counts up/down on TI2\+FP2 edge depending on TI1\+FP1 level. 